
/*
function Welcome(props){
    console.log( props );
    let { children } = props ;
    return (
        <div style={ { margin: '15px' , border: '1px solid blue' } }>
            <h5>welcome</h5>
            { children }
        </div>
    )
}
*/

import { Component } from "react";

class Welcome extends Component {
    render(){
        let { children } = this.props ;
        return (
            <div style={ { margin: '15px' , border: '1px solid blue' } }>
                <h5>welcome</h5>
                { children }
            </div>  
        )
    }
}

export default Welcome;